#include "include.h"
#include "test_try_catch.hpp"
#include "test_io.hpp"
#include "test_lambda.hpp"
#include "test_make_share_ptr.hpp"
#include "test_std_bind_and_placeholder.hpp"
#include "test_std_thread.hpp"
#include "test_std_function.hpp"
#include "test_regex_match.hpp"
#include "test_unordered_map.hpp"//下面的hpp可以调用上面hpp中的函数

int main()
{
	cout<<"case 0:try_catch()\n";
	cout<<"case 1:test_io()\n";
	cout<<"case 2:test_lambda()\n";
	cout<<"case 3:test_std_bind_and_placeholder()\n";
	cout<<"case 4:test_std_function()\n";
	cout<<"case 5:test_std_thread()\n";
	cout<<"case 6:test_unordered_map()\n";
	cout<<"case 7:test_make_share_ptr()\n";
	cout<<"case 8:test_regex_match()\n ";
	cout<<"请输入待测试的序号\n";
	int witch;
	cin>>witch;
	switch(witch)
	{
		case 0:try_catch();break;
		case 1:test_io();break;
		case 2:test_lambda();break;
		case 3:test_std_bind_and_placeholder();break;
		case 4:test_std_function();break;
		case 5:test_std_thread();break;
		case 6:test_unordered_map();break;
		case 7:test_make_share_ptr();break;
		case 8:test_regex_match();break;
	}
	
	return 0;
}
